﻿namespace DotNetNuke.Modules._2DoTasks.Components
{
    public class SharedEnum
    {
        #region "Task"

        /// <summary>
        /// Task priority possible values
        /// </summary>
        public enum TaskPriority
        {
            Low = 1,
            Medium = 2,
            High = 3
        }

        /// <summary>
        /// Task type possible values
        /// </summary>
        public enum TaskType
        {
            Task = 1,
            Question = 2,
            Bug = 3
        }

        /// <summary>
        /// Task status possible values
        /// </summary>
        public enum TaskStatus
        {
            Open = 1,
            Closed = 2,
            Deferred = 3,
            Deleted = 4
        }

        /// <summary>
        /// Enum for crud operations
        /// </summary>
        public enum CrudState
        {
            Insert,
            Update,
            Delete
        }

        /// <summary>
        /// Task list filtering for assigned options
        /// </summary>
        public enum FilterAssigned
        {
            Me,
            Everyone
        }

        /// <summary>
        /// Task list aditional filtering options
        /// </summary>
        public enum Task_FilterAditionalOptions
        {
            Open = 1,
            Closed = 2,
            Deferred = 3,
            Deleted = 4,
            DueToday = 5,
            Overdue = 6,
            DueNext1Day = 7,
            DueNext7Days = 8,
            DueThisMonth = 9
        }

        #endregion "Task"

        #region "Project"

        /// <summary>
        /// Project list aditional filtering options
        /// </summary>
        public enum Project_FilterAditionalOptions
        {
            Active = 1,
            Archived = 2
        }

        #endregion "Project"
    }
}